package com.wali.modules.system.vo;

import com.wali.common.ccp.execl.annotation.CcpExcelField;

/**
 * @author walixu
 * @ClassName com.wali.modules.system.vo
 * @Description ${todo}
 * @email wali.xu@kpmg.com
 * @date 14/01/2019 10:35 下午
 */
public class Area {

    @CcpExcelField(value = "country", title = "country")
    private String name;

    @CcpExcelField(value = "postal", title = "postal")
    private String postcode;

    @CcpExcelField(value = "countycode", title = "countycode")
    private String code;

    private String parentCode;

    private int sort;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "Area{" +
                "name='" + name + '\'' +
                ", postcode='" + postcode + '\'' +
                ", code='" + code + '\'' +
                ", parentCode='" + parentCode + '\'' +
                ", sort=" + sort +
                '}';
    }
}
